package com.guonl.dao;

import com.guonl.model.CountryNew;
import com.guonl.model.CountryNewExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CountryNewMapper {
    long countByExample(CountryNewExample example);

    int deleteByExample(CountryNewExample example);

    int deleteByPrimaryKey(Integer serialNo);

    int insert(CountryNew record);

    int insertSelective(@Param("record") CountryNew record, @Param("selective") CountryNew.Column ... selective);

    CountryNew selectOneByExample(CountryNewExample example);

    List<CountryNew> selectByExample(CountryNewExample example);

    CountryNew selectByPrimaryKey(Integer serialNo);

    int updateByExampleSelective(@Param("record") CountryNew record, @Param("example") CountryNewExample example, @Param("selective") CountryNew.Column ... selective);

    int updateByExample(@Param("record") CountryNew record, @Param("example") CountryNewExample example);

    int updateByPrimaryKeySelective(@Param("record") CountryNew record, @Param("selective") CountryNew.Column ... selective);

    int updateByPrimaryKey(CountryNew record);

    int batchInsert(@Param("list") List<CountryNew> list);

    int batchInsertSelective(@Param("list") List<CountryNew> list, @Param("selective") CountryNew.Column ... selective);
}